GtkListBox: Allow a NULL callback in bind_model
authorTimm Bäder <mail@baedert.org>
Tue, 1 Sep 2015 08:41:42 +0000 (10:41 +0200)
committerTimm Bäder <mail@baedert.org>
Thu, 3 Sep 2015 14:12:15 +0000 (16:12 +0200)
commit1405bcb32d4e63e5f641eb8f54bafec2581520e0
treed56718ad9bfc6126aff52bf2c19d6e41873e20cc
parentbd35b17083af8fac8c5ce88fa25c2923e87d930f
GtkListBox: Allow a NULL callback in bind_model

When unsetting the bound model, one can pass NULL, but in that case the
create_func parameter should also be NULL.
gtk/gtklistbox.c